package com.only4play.iot.platform.service;

import com.only4play.iot.platform.emqx.handler.MessageHandler;

public interface MessageServiceHandlerFactory {

    /**
     * 根据事件获取具体的实现类
     * @param topic
     * @return
     */
    public MessageHandler getHandler(String topic);
}
